package com.piece.core.framework.exception;

/**
 * 幂等性异常
 */
public class IdempotencyException extends FrameWorkException {

    public IdempotencyException() {
        super(ErrorCode.IDEMPOTENCY);
    }

    public IdempotencyException(String message) {
        super(new ErrorCode(423, message));
    }
}